package cn.edu.nuc.film.entity;

/**
 * 用户表
 * @author win7
 *
 */
public class User {
	/**
	 * 用户id
	 */
    private Integer userid;
    /**
     * 角色id
     */
    private Integer roleid;
    /**
     * 角色名
     */
    private String rolename;
    /**
     * 用户名
     */
    private String username;
    /**
     * 密码
     */
    private String password;
    /**
     * 用户真实姓名
     */
    private String usertruename;
    /**
     * 联系方式
     */
    private String tel;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 用户状态
     */
    private Integer userstate;
    /**
     * 是否是会员( 1-会员  0-非会员)
     */
    private Integer member;

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getRoleid() {
        return roleid;
    }

    public void setRoleid(Integer roleid) {
        this.roleid = roleid;
    }
    
    
    
    public String getRolename() {
		return rolename;
	}

	public void setRolename(String rolename) {
		this.rolename = rolename;
	}

	public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }
    
    
    
    
    public String getUsertruename() {
		return usertruename;
	}

	public void setUsertruename(String usertruename) {
		this.usertruename = usertruename;
	}

	public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel == null ? null : tel.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public Integer getUserstate() {
        return userstate;
    }

    public void setUserstate(Integer userstate) {
        this.userstate = userstate;
    }

    public Integer getMember() {
        return member;
    }

    public void setMember(Integer member) {
        this.member = member;
    }

	@Override
	public String toString() {
		return "User [userid=" + userid + ", roleid=" + roleid + ", rolename=" + rolename + ", username=" + username
				+ ", password=" + password + ", tel=" + tel + ", email=" + email + ", userstate=" + userstate
				+ ", member=" + member + "]";
	}
    
    
    
    
}